package com.lanyan.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.lanyan.system.domain.AccountAddress;
import com.lanyan.system.domain.vo.AccountAddressVo;

/**
 * 用户地址Service接口
 *
 * @author lanyan
 * @date 2024-11-26
 */
public interface IAccountAddressService extends IService<AccountAddress>
{
    /**
     * 查询用户地址
     *
     * @param accountAddressId 用户地址主键
     * @return 用户地址
     */
    public AccountAddress selectAccountAddressByAccountAddressId(Long accountAddressId);

    /**
     * 查询用户地址列表
     *
     * @param accountAddress 用户地址
     * @return 用户地址集合
     */
    public List<AccountAddress> selectAccountAddressList(AccountAddress accountAddress);

    /**
     * 查询用户地址Vo列表
     *
     * @param accountAddress 用户地址
     * @return 用户地址集合
     */
    public List<AccountAddressVo> selectAccountAddressVoList(AccountAddress accountAddress);

    /**
     * 新增用户地址
     *
     * @param accountAddress 用户地址
     * @return 结果
     */
    public boolean insertAccountAddress(AccountAddress accountAddress);

    /**
     * 修改用户地址
     *
     * @param accountAddress 用户地址
     * @return 结果
     */
    public boolean updateAccountAddress(AccountAddress accountAddress);

    /**
     * 批量删除用户地址
     *
     * @param accountAddressIds 需要删除的用户地址主键集合
     * @return 结果
     */
    public boolean deleteAccountAddressByAccountAddressIds(Long[] accountAddressIds);

    /**
     * 删除用户地址信息
     *
     * @param accountAddressId 用户地址主键
     * @return 结果
     */
    public boolean deleteAccountAddressByAccountAddressId(Long accountAddressId);
}
